﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;


public class DoubleInputArgs
{
    public object args;
    public ShaHaoType shahaoType;
    public Action<int> BeginAction;

    public Action<int> EndAction;
}


public class DoubleData : algorithmBase
{
    public static ShaStatues isRunStatus = ShaStatues.Idle;

    public virtual void Reload()
    {
        Init();
    }

    public override void Init()
    {
        base.Init();
        List<List<int>> datas = new List<List<int>>();
        int max = 33;
        for (int i = 1; i <= max - 5; i++)
        {
            for (int i2 = i + 1; i2 <= max - 4; i2++)
            {
                for (int i3 = i2 + 1; i3 <= max - 3; i3++)
                {
                    for (int i4 = i3 + 1; i4 <= max - 2; i4++)
                    {
                        for (int i5 = i4 + 1; i5 <= max - 1; i5++)
                        {
                            for (int i6 = i5 + 1; i6 <= max; i6++)
                            {
                                datas.Add(new List<int> {i, i2, i3, i4, i5, i6});
                            }
                        }
                    }
                }
            }
        }

        baseAllData = datas;
    }

    protected DoubleInputArgs args;


    public virtual void Release()
    {
    }
}